<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>The source code</title>
  <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  <style type="text/css">
    .highlight { display: block; background-color: #ddd; }
  </style>
  <script type="text/javascript">
    function highlight() {
      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
    }
  </script>
</head>
<body onload="prettyPrint(); highlight();">
  <pre class="prettyprint lang-js">Ext.ns('Helper.HTML5');

<span id='Helper-HTML5-CanvasGradient'>/**
</span> * @class Helper.HTML5.CanvasGradient Canvas颜色渐变对象
 */
Ext.extend(Helper.HTML5.CanvasGradient, Ext.emptyFn,
{
<span id='Helper-HTML5-CanvasGradient-method-addColorStop'>	/**
</span>	 * @method 指定渐变偏移与渐变颜色
	 * @param {Number} offset 颜色的偏移值（0表示渐变起点，1表示终点）
	 * @param {String} color 该偏移的颜色值，可以是任意的css颜色值
	 */
	addColorStop: function( offset, color )
	{
	}
});</pre>
</body>
</html>
